'''
Created on 27/apr/09

@author: Riccardo Cagnasso
'''
from Controller.TicketList import TicketList 
from Controller.AddTicket import AddTicket
from Controller.ViewTicket import ViewTicket
from Controller.AddEntry import AddEntry

from google.appengine.ext import webapp
from google.appengine.ext.webapp.util import run_wsgi_app


application = webapp.WSGIApplication(
                                     [
                                      ('/', TicketList),
                                      ('/addTicket',AddTicket),
                                      ('/viewTicket',ViewTicket),
                                      ('/addEntry',AddEntry)
                                      ],
                                     debug=True)

def main():
    run_wsgi_app(application)

if __name__ == "__main__":
    main()
